<HTML>
    <HEAD>
  <meta http-equiv="Content-Type" content="text/html;charset=utf-8">
  <title>CPU信息测试页面</title>
  <script type="text/javascript" src="./js/service.js"></script>
  <script type="text/javascript" src="/usr/share/javascript/jquery/jquery.min.js"></script>
      <TITLE>CPU信息测试页面</TITLE>
      <SCRIPT language=JavaScript>
              function getCpuArch(){
                  var test = serviceT.getCpuArch();
                  document.getElementById("res").value = test;
              }
              function getCpuVendor(){
                  var test = serviceT.getCpuVendor();
                  document.getElementById("res").value = test;
              }
              function getCpuModel(){
                  var test = serviceT.getCpuModel();
                  document.getElementById("res").value = test;
              }
              function getCpuFreqMHz(){
                  var test = serviceT.getCpuFreqMHz();
                  document.getElementById("res").value = test;
              }
              function getCpuCorenums(){
                  var test = serviceT.getCpuCorenums();
                  document.getElementById("res").value = test;
              }
              function getCpuVirt(){
                  var test = serviceT.getCpuVirt();
                  document.getElementById("res").value = test;
              }
              function getCpuProcess(){
                  var test = serviceT.getCpuProcess();
                  document.getElementById("res").value = test;
              }
              
        //-->
      </SCRIPT>
      <META content="MSHTML 6.00.2900.6287" name=GENERATOR>
      <style>
        table tr td{padding: 5px;}
      </style>
  
    </HEAD>
    <BODY>
      <div style="margin:30 5 20 5">
        <div>
          <input onclick="getCpuArch()" type="button" value="CPU架构"  style="width: 140px; height: 50px">
          <input onclick="getCpuVendor()" type="button" value="CPU制造厂商"  style="width: 140px; height: 50px">
          <input onclick="getCpuModel()" type="button" value="CPU型号"  style="width: 140px; height: 50px">
          <input onclick="getCpuFreqMHz()" type="button" value="CPU额定主频"  style="width: 140px; height: 50px">
          <input onclick="getCpuCorenums()" type="button" value="CPU核心数量"  style="width: 140px; height: 50px">
          <input onclick="getCpuVirt()" type="button" value="CPU对虚拟化的支持"  style="width: 140px; height: 50px">
          <input onclick="getCpuProcess()" type="button" value="CPU线程数"  style="width: 140px; height: 50px">
        </div>
        <div style="margin-top:20">
          <div align=left style="margin:5 0 5 0">回复：</div>
          <div>
          <textarea id="res" style="width:1000px;height:500px" ></textarea>
          </div>
        </div>
      </div>
    </BODY>
  </HTML>
  